import { GameConfig } from "./GameConfig";

export class RoomConfig {
    public static Room_State_Type = {
        Normal: 1, //正常
        Release: 2, //解散
    }

    public gameType: number = GameConfig.Game_Type.huanghua_mj
    public renshu: number = 1; //房间人数
    public jushu: number = 1; //房间局数
    public cost: number = 0; //花费
    public difen: number = 1; //底分
    public cost_type: number = 1; //房费类型
    public static cost_type = { //房费类型之
        fangzhu: 0, //房主支付
        dayingjia: 1, //大赢家付
        pingjun: 2, //平均房费
        quanzhu: 3, //圈主，亲友圈房间才会有    
    }
    public distance_limit: number = 0;  //距离限制

    public limit_emoji: number = 0;  //禁用表情
    public limit_voice: number = 0; //禁用语音
    public limitDropItem: number = 0; //禁止扔道具

    //底分配置
    public static distance_limit_Config: Array<number> = [
        0, 50, 100, 200, 300
    ]

    public dismiss_time: number = 0; //自动解散时间
    public static dismiss_time_config: Array<number> = [
        60, 180, 240, 300
    ]
    public tuoguan_time: number = 0;    //自动托管时间
    public static tuoguan_time_config: Array<number> = [
        15, 20, 30, 40, 60
    ]

    
}